package Taxi_easy_main;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import java.awt.Color;
import javax.swing.JButton;
import javax.swing.JTextField;
import java.awt.Font;
import javax.swing.ImageIcon;

public class login extends JInternalFrame {
	private JTextField textField;
	private JTextField textField_1;
	private JLabel lblLogin;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					login frame = new login();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public login() {
		getContentPane().setBackground(new Color(175, 238, 238));
		setBounds(100, 100, 545, 425);
		getContentPane().setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Ingrese usuario");
		lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblNewLabel.setBounds(164, 59, 127, 50);
		getContentPane().add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("Ingrese Contrase\u00F1a");
		lblNewLabel_1.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblNewLabel_1.setBounds(164, 136, 160, 50);
		getContentPane().add(lblNewLabel_1);
		
		lblLogin = new JLabel("RESERVACIONES EASY TAXI");
		lblLogin.setFont(new Font("Tahoma", Font.BOLD, 20));
		lblLogin.setBounds(128, 13, 304, 50);
		getContentPane().add(lblLogin);
		
		JButton btnNewButton_2 = new JButton("Ingresar");
		btnNewButton_2.setBounds(250, 229, 97, 40);
		getContentPane().add(btnNewButton_2);
		
		JButton btnNewButton_3 = new JButton("Salir");
		btnNewButton_3.setBounds(388, 229, 97, 40);
		getContentPane().add(btnNewButton_3);
		
		JLabel lblLogo = new JLabel("Logo");
		lblLogo.setIcon(new ImageIcon(login.class.getResource("/Taxi_easy_images/taxi.jpg")));
		lblLogo.setBounds(12, 184, 200, 166);
		getContentPane().add(lblLogo);
		
		textField = new JTextField();
		textField.setBounds(343, 74, 142, 22);
		getContentPane().add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(343, 151, 142, 22);
		getContentPane().add(textField_1);
		textField_1.setColumns(10);

	}
}
